package com.zbkj.crmeb.store.model;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 轮播表
 * </p>
 *
 * @author Mr.Zhang
 * @since 2020-05-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eb_store_banner")
@ApiModel(value="StoreBanner", description="轮播图表")
public class StoreBanner implements Serializable {
    private static final long serialVersionUID = 5071900249288082654L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 标题
     */
    @ApiModelProperty(value = "标题")
    private String title;

    /**
     * 类型 1 链接 2 专区
     */
    @ApiModelProperty(value = "类型 1 链接 2 专区")
    private Integer type;

    /**
     * zoneId
     */
    @ApiModelProperty(value = "zoneId")
    private Integer typeId;

    /**
     * 链接地址或者专区名称
     */
    @ApiModelProperty(value = "链接地址或者专区名称")
    private String typeDesc;

    /**
     * 图片地址
     */
    @ApiModelProperty(value = "图片地址")
    private String image;

    /**
     * 默认0不显示 1显示
     */
    @ApiModelProperty(value = "默认0不显示 1显示")
    private Integer status;

    /**
     * 是否删除 0不 1是
     */
    @ApiModelProperty(value = "是否删除 0不 1是")
    private Integer isDel;

    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private Integer sort;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "更新时间")
    private Integer merId;
}
